<div class="breadcrum">
    <p>
        <a href="#">Dashboard</a><span></span><small>Reporting</small>
    </p>
    <div class="clear"></div>
</div>
<div class="dashboard-box left">
    <div style="width: 50%" id="chart1">
        <div 
            bginactive="url(chrome://flashblock/content/flash.png) no-repeat center" 
            bgactive="url(chrome://flashblock/content/flashplay.png) no-repeat center" 
            style="background: url(&quot;chrome://flashblock/content/flash.png&quot;) no-repeat scroll center center transparent ! important; min-width: 32px ! important; min-height: 32px ! important; width: 1123px; height: 250px; border: 1px solid rgb(223, 223, 223); cursor: pointer; overflow: hidden; display: inline-block; visibility: visible ! important; opacity: 100 ! important; -moz-box-sizing: border-box;" 
            title="{$BASEURL}resource/doc/charts/Column3D.swf" 
            srcattribute="{$BASEURL}resource/doc/charts/Column3D.swf" 
            tabindex="0" role="button">           
        </div>
    </div>

    <script type="text/javascript">
        var chart = new FusionCharts("{$BASEURL}resource/doc/charts/Column3D.swf", "ChartId", "1100", "350");
        //chart.setDataURL("Data/Column3D.xml");
        chart.setDataURL("{$config->site_url('laporan/barang/data_xml_barang_per_kategori')}");

        chart.render("chart1");
    </script> 
</div>
<div class="clear"></div>
<div class="report-map">
    <div class="report-box">
        <a href="{$config->site_url('laporan/barang/barang_per_group')}">
            <em>Laporan Barang per Group</em>
            {foreach from=$rs_id key=no item=result}
            <small><b>{$result.gpbarang_name}</b></small>
            <span class="clear"></span>
            <small class="lefted">Total Jumlah : </small><small class="righted">{$result.total_barang}</small>
            <span class="clear"></span>
            {/foreach}
        </a>
    </div> 
</div>

<div class="report-map">
    <div class="report-box">
        <a href="{$config->site_url('laporan/barang/nilaiaset')}">
            <em>Laporan Nilai Aset</em>
            {foreach from=$rs_id key=no item=result}
            <small><b>{$result.gpbarang_name}</b></small>
            <span class="clear"></span>
            <small class="lefted">Total Nilai : </small><small class="righted">{$result.total_nilai_buku|default:'0'|number_format:2:",":"."}</small>
            <span class="clear"></span>
            {/foreach}
        </a>
    </div> 
</div>


<div class="report-map">
    <div class="report-box">
        <a href="{$config->site_url('laporan/barang/barang_per_lokasi')}">
            <em>Laporan Berdasarkan Lokasi</em>  
            <small class="lefted">Total Lokasi : </small><small class="righted">{$tot_lokasi|default:'0'}</small>
            <span class="clear"></span>
        </a>
    </div> 
</div>